package com.egghiro.j2se.tool.srandomhunt.model.element;

import com.egghiro.j2se.tool.srandomhunt.model.IRandomEntry;

public class Monster extends MHElement implements IRandomEntry {

    // private int requirementHR;

    private String requiredHR;

    public Monster() {
        this(new String[] { "", "", "" });
    }

    public Monster(String[] dataArray) {
        for (int i = 0; i < dataArray.length; i++) {
            switch (i) {
            case 0:
                this.requiredHR = dataArray[i];
                break;
            case 1:
                this.nameJP = dataArray[i];
                break;
            case 2:
                this.nameCN = dataArray[i];
                break;
            default:
                break;
            }
        }
    }

    // private String requirementHR;

    public String getRequiredHR() {
        return requiredHR;
    }

    public void setRequiredHR(String requiredHR) {
        this.requiredHR = requiredHR;
    }

    @Override
    public String getEntryInformation() {
        return toString();
    }

}
